# $Id: PKGBUILD 88550 2013-04-19 17:05:30Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Roberto Alsina <ralsina@kde.org>

pkgname=python2-migrate
pkgver=0.7.2
pkgrel=3
pkgdesc="provides a way to deal with database schema changes in SQLAlchemy projects"
arch=(any)
url="http://sqlalchemy-migrate.googlecode.com/"
depends=('python2' 'python2-sqlalchemy' 'python2-decorator' 'python2-tempita')
makedepends=('python2-distribute')
license=('MIT')
source=(http://sqlalchemy-migrate.googlecode.com/files/sqlalchemy-migrate-$pkgver.tar.gz
	fix_exceptions_import_for_sqlalchemy_0.8.patch)
md5sums=('10382fda16f056491e671b5307dd6713'
         'f0e7a642736d0451709cf2d0684bc8e9')

package() {
  cd $srcdir/sqlalchemy-migrate-$pkgver
  patch -p1 <$srcdir/fix_exceptions_import_for_sqlalchemy_0.8.patch
  python2 setup.py install --root=$pkgdir
}
